Rising ingredient costs in the confectionery industry have prompted giants such as Hershey to rethink innovation and broaden trick-or-treating options to include salty snacks.