Brazil’s new government has confirmed that plantings of genetically modified crops were illegal, but said it would look for legal ways to sell what has already been planted.