Gold steady on weaker dollar, firmer stocks cap gains