Gold futures settle higher after late-session reversal