Bullion is heading for the first quarterly loss since 2018.