Fix bazel 7.0 bzlmod update (#2352)

BUG=[315853820](https://b.corp.google.com/issues/315853820)
diff --git a/.bazelrc b/.bazelrc
index b150e1f..af0b2fd 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -24,6 +24,9 @@
 # Get stamp values from a script's output
 build --workspace_status_command=./tools/workspace_status.sh
 
+# TODO(b/315853820): Needed for Bazel 7.0, until migrated to bzlmod
+build --noenable_bzlmod
+
 # Use the following C++ standard
 build --cxxopt -std=c++17