Rory McIlroy posted eight birdies and a costly triple bogey on his way to a five-under 67 during the second round of the HSBC Abu Dhabi Championship.