comex gold end lower after three-session rise