Rory McIlroy had a day to forget on the greens at Royal Birkdale as he missed multiple putts from inside five feet during the first round of The Open.