Gold ends lower as havens lose ground after French vote