US spice maker McCormick has reported flat first-quarter operating profit as high input costs offset sales gains.