Gold declines as rally to six-week high spurs selling