US spice maker McCormick & Co. has booked lower first-half profits as margin softness offset sales gains.