The move to a new corporate HQ has weighed on first-half earnings at Tasty Baking, the US company has reported.