McCormick & Co. has reported growth from its consumer-facing business in China, a market where a number of its peers have stuttered in recent quarters.