gold edges up, hovers near 1-year high on haven demand