gold ends below $1,000