Gold prices traded firmly above five-week lows on Wednesday as traders sought the safe-haven commodity as the global stock rally of recent sessions lost steam.