US meat company Smithfield Foods has ended talks to buy a controlling stake in Campofrio Food Group.