Rory McIlroy had some high peaks and low valleys during Round 1 of The Open Championship at Royal Birkdale.