Gold and frozen orange-juice futures prices hit record highs in 2023, but key commodities indexes are on track to post their largest losses in five years.