Rory McIlroy says he has "earned the right to do whatever I want to do" after skipping speaking to the media following his opening two rounds at the US Open.