Acacia Mining swings to profit but still lodged in Tanzanian row