Rory McIlroy was handed a two-shot penalty after finishing his first round at the Abu Dhabi Championship, with officials ruling he improved his lie on a hole where he shot double-bogey to spoil his card.