Replace xnn_params.initialized with fine-grained xnn_params.init_flags

PiperOrigin-RevId: 317358544
diff --git a/src/subgraph/bankers-rounding.c b/src/subgraph/bankers-rounding.c
index 7bd9b34..e94c279 100644
--- a/src/subgraph/bankers-rounding.c
+++ b/src/subgraph/bankers-rounding.c
@@ -19,7 +19,7 @@
   uint32_t output_id,
   uint32_t flags)
 {
-  if (!xnn_params.initialized) {
+  if ((xnn_params.init_flags & XNN_INIT_FLAG_XNNPACK) == 0) {
     xnn_log_error("failed to define %s operator: XNNPACK is not initialized",
       xnn_node_type_to_string(xnn_node_type_bankers_rounding));
     return xnn_status_uninitialized;