The Canadian miner is the latest company to be hit by changing policies in Africa as governments seem increasingly willing to upend historic deals with foreign companies in their quest for more mining revenue.