Rory McIlroy has become the highest-profile withdrawal from golf at Rio 2016 amid Zika virus fears.