As anti-immigration demonstrations have driven many migrants to leave South Africa, the country's government is pressing for continent-wide discussions.