Rory McIlroy believes Donald Trump becoming US president could be good for the game of golf.