Hershey has booked a drop in first-quarter profits due to higher asset impairment charges and "business realignment" costs.