Gold prices climbed to an all-time high on Tuesday, extending gains to a sixth session on the back of a weaker dollar and rising bets of a U.S. interest rate cut this month.