Rory McIlroy drove the par-4 ninth green at Royal Birkdale to set-up a two putt birdie during the first round of The Open Championship.