Fix bug where freed OIDs could be accessed in EVP_cleanup() by