CLEANUP: Use `isttest()` and `istfree()`

This adjusts a few locations to make use of `isttest()` and `istfree()`.
diff --git a/src/http_htx.c b/src/http_htx.c
index 8157eb5..0e68695 100644
--- a/src/http_htx.c
+++ b/src/http_htx.c
@@ -111,7 +111,7 @@
 	if (blk) {
 		char *p;
 
-		if (!ctx->value.ptr)
+		if (!isttest(ctx->value))
 			goto rescan_hdr;
 		if (full)
 			goto next_blk;
@@ -309,7 +309,7 @@
 
 	uri = htx_sl_req_uri(sl);
 	p = http_get_path(uri);
-	if (!p.ptr)
+	if (!isttest(p))
 		p = uri;
 	while (plen < p.len && *(p.ptr + plen) != '?')
 		plen++;