gold extends climb to multiweek highs as dollar index sinks