Corrected spinning loop potential in getrandombytes

Client was unable to start due to repeated loop execution.

Successful file descriptor opening of /dev/urandom had no
impact on loop execution, preventing the client from moving on.

Signed-off-by: Scott Moeller <electronjoe@gmail.com>