gold prices end lower after failed run at $1,300