Commodities headed for the biggest annual loss since the global financial crisis in 2008, retreating for a record fourth year.