December gold ekes out a slight gain