McCormick & Co. has booked an increase in full-year earnings, boosted by cost savings and the acquisition of Lawry's.