Convert CRYPTO_LOCK_EVP_PKEY to new multi-threading API