Gold rises, but set for longest monthly losing streak in 5-1/2 years