Gold prices were ending the U.S. day session with modest gains Wednesday, after scoring a 3.5-month low in overnight action.