Gold prices were set to end a record-breaking year on a positive note as robust central bank buying, geopolitical uncertainties.