Fix a race condition in drbgtest.c