JBS swings to $96M Q2 loss on cattle costs, debt charges