Gold holds firm near record highs amid trade tensions and geopolitical risks