Blaze never passes a value to nullary flag --shutdown_on_low_sys_mem.

TESTED=compared --build_event_text_file output between the same build using
canary bazel and bazel built with this CL, and structured_command_line no
longer contains --shutdown_on_low_sys_mem=1.

RELNOTES: None.
PiperOrigin-RevId: 302061606
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc
index 8210b86..44879c0 100644
--- a/src/main/cpp/blaze.cc
+++ b/src/main/cpp/blaze.cc
@@ -428,13 +428,16 @@
   // Note that we always use the --flag=ARG form (instead of the --flag ARG one)
   // so that BlazeRuntime#splitStartupOptions has an easy job.
 
-  // TODO(lberki): Test that whatever the list constructed after this line is
-  // actually a list of parseable startup options.
+  // TODO(b/152047869): Test that whatever the list constructed after this line
+  // is actually a list of parseable startup options.
   if (!startup_options.batch) {
     result.push_back("--max_idle_secs=" +
                      ToString(startup_options.max_idle_secs));
-    result.push_back("--shutdown_on_low_sys_mem=" +
-                     ToString(startup_options.shutdown_on_low_sys_mem));
+    if (startup_options.shutdown_on_low_sys_mem) {
+      result.push_back("--shutdown_on_low_sys_mem");
+    } else {
+      result.push_back("--noshutdown_on_low_sys_mem");
+    }
   } else {
     // --batch must come first in the arguments to Java main() because
     // the code expects it to be at args[0] if it's been set.