Gold rangebound as weaker dollar offsets risk-on sentiment