gold edges up as traders eye dollar