gold slides to 4-month low as dollar edges up