Gold price gains ground near the all-time high amid geopolitical risks, Fed rate cut bets