Elderly man dies after being hit by car in Mayo