Brazilian meat giant Marfrig has returned to profit in the third quarter of the year.