Fixed a crash in error handing of rand_drbg_new