US luxury ice cream company Dreyer's Grand Ice Cream has posted a second-quarter loss, due in part to severance, research, impairment and other expenses.