A Chinese firm says it has suspended work at its gold mine in Madagascar after a series of protests by local residents for the sake of "peace in the community".