Gold prices end lower after failed attempt to rebound