Rory McIlroy found the water on the 18th hole but kept his composure to save par on his opening round at Valhalla.