Rory McIlroy warms up with hole in one