Gold extends gains on sluggish US data, safe-haven demand