gold ends lower, still flirting with $1,200 level