gold prices end modestly higher for the session