South Africa's Pioneer Food Group has booked lower underlying half-year profits, affected by higher input costs and weak consumer confidence.