Rory McIlroy says that he and his European team-mates must "set the tone" when it comes to the behaviour of fans at the 2027 Ryder Cup in Ireland.