Rory McIlroy stunned his playing partner Adam Scott by driving the first green at the Abu Dhabi Championship.