gold gains on local buying, global cues