US food group JM Smucker has booked a 3% decline in profit for its third quarter, as charges dented higher sales.