Spice-maker McCormick had to cut back on some products to keep its most in-demand items on store shelves over the past year.