Fix CRYPTO_THREAD_run_once return value checks