Rory McIlroy says he "could be a couple closer to the lead" at the halfway stage of The Open but still feels he is in a "decent" position.