Rory McIlroy was left to rue his "wayward" driving as he endured a difficult opening round of the PGA Championship at Aronimink.