drbg_lib: avoid NULL pointer dereference in drbg_add