Support ASAN for ckati and ninja

I missed this when converting to soong_ui.

Test: m -j blueprint_tools (check soong.log)
Test: SANITIZE_HOST=address m -j blueprint_tools
Change-Id: I01eb567db6848dc36dd679557291a4e600a63bba
diff --git a/ui/build/config.go b/ui/build/config.go
index c01bf4c..f5007b1 100644
--- a/ui/build/config.go
+++ b/ui/build/config.go
@@ -318,3 +318,15 @@
 		panic("Unsupported OS")
 	}
 }
+
+func (c *configImpl) PrebuiltBuildTool(name string) string {
+	if v, ok := c.environ.Get("SANITIZE_HOST"); ok {
+		if sanitize := strings.Fields(v); inList("address", sanitize) {
+			asan := filepath.Join("prebuilts/build-tools", c.HostPrebuiltTag(), "asan/bin", name)
+			if _, err := os.Stat(asan); err == nil {
+				return asan
+			}
+		}
+	}
+	return filepath.Join("prebuilts/build-tools", c.HostPrebuiltTag(), "bin", name)
+}