US meats and bakery company Hillshire Brands has raised its guidance for annual earnings despite booking a drop in first-half profits.