Fix RAND_bytes return value checking.

That function can actually return -1 if it isn't
supported.