Hershey reported mixed Q3 sales with a jump in earnings and updated its full-year outlook higher, citing tariff benefits.