Brazilian meat producer Marfrig made a net loss in the second quarter on the back of a weak US dollar and high grain and livestock prices.