Limit direct dependencies on cpuinfo

PiperOrigin-RevId: 272245408
diff --git a/src/xnnpack/isa-checks.h b/src/xnnpack/isa-checks.h
index 0bdf97c..e4aebd6 100644
--- a/src/xnnpack/isa-checks.h
+++ b/src/xnnpack/isa-checks.h
@@ -10,8 +10,10 @@
 
 #include <cpuinfo.h>
 
+#include <xnnpack/common.h>
 
-#if CPUINFO_ARCH_PNACL || CPUINFO_ARCH_WASMSIMD
+
+#if XNN_ARCH_PNACL || XNN_ARCH_WASMSIMD
   #define TEST_REQUIRES_PSIMD
 #else
   #define TEST_REQUIRES_PSIMD \