Europe's Ryder Cup captain Paul McGinley says Rory McIlroy will bounce back from his recent poor run of results.