Finland-based meat processor HKScan has posted a first-half loss as rising commodity costs and low pork prices hit the company's profits.