Gold rallies to record high as US shutdown, Fed rate cut bets fuel demand