Gold ends lower after vote soothes French euro exit fears