Ghana has declined a request for a state visit by South African President Cyril Ramaphosa, following growing concerns over xenophobic attacks targeting Ghanaian nationals and other African migrants in South Africa.