Fix checking the return value of getentropy() Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #6405