Fix a memory leak in EC_GROUP_new_from_ecparameters