World number two and Master champion Rory McIlroy says the course at Shinnecock Hills "won the battle over me" as he finished six-over in the US Open.