august gold ends up 1.2% at $948.80 an ounce