Rory McIlroy was handed a two-shot penalty after his first round at the Abu Dhabi Championship on Thursday, with officials ruling he improved his lie.