gold ekes out a gain a day after falling to a 4-month low