Gold gained as traders weighed the prospect for a slower pace of interest-rate cuts by the US Federal Reserve next year.