Gold gains as debt concern spurs demand