Hershey is expecting “significant pressure on earnings” from stubbornly high cocoa prices but still expects an acceleration in sales revenue.