Fix ODR violation in logging utils

PiperOrigin-RevId: 315787111
diff --git a/BUILD.bazel b/BUILD.bazel
index 8616ce5..24124ad 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -2905,7 +2905,7 @@
         "src/runtime.c",
         "src/subgraph.c",
         "src/tensor.c",
-    ] + SUBGRAPH_SRCS + LOGGING_SRCS,
+    ] + SUBGRAPH_SRCS,
     hdrs = ["include/xnnpack.h"],
     copts = LOGGING_COPTS + [
         "-Isrc",
@@ -2944,7 +2944,7 @@
         "src/runtime.c",
         "src/subgraph.c",
         "src/tensor.c",
-    ] + SUBGRAPH_SRCS + LOGGING_SRCS,
+    ] + SUBGRAPH_SRCS,
     hdrs = ["include/xnnpack.h"],
     copts = LOGGING_COPTS + [
         "-Isrc",