block/nbd: Use qcrypto_tls_creds_check_endpoint()