gold edges up despite firm dollar