gold edges up to end august 12% higher