CRYPTO_THREAD_lock_new(): Avoid infinite recursion on allocation error