December gold ends 0.2% higher at $1,294.80 an ounce