Jobs at a General Mills plant in the US are to be affected once B&G Foods buys the group's Green Giant business.