US meats and bakery company Hillshire Brands swung to a profit in the first quarter of the financial year.