Migrate swig_include_scanning to Starlark. In native code, this is hard coded to True, but it's also used in starlark code. So, in native code, remove references to the flag. In Starlark code, refer to the starlark option. No OSS code here, so we can add the extra attribute to refer to the flag.

PiperOrigin-RevId: 823331236
Change-Id: I4adc25b86c531306e9d4491b985ea95400a875c3
diff --git a/java/private/BUILD b/java/private/BUILD
index 939fa75..bbed12b 100644
--- a/java/private/BUILD
+++ b/java/private/BUILD
@@ -38,6 +38,7 @@
         "//java/common/rules:toolchain_rules",
         "//java/common/rules/impl:java_helper_bzl",
         "@bazel_skylib//lib:paths",
+        "@bazel_skylib//rules:common_settings",
         "@rules_cc//cc:find_cc_toolchain_bzl",
         "@rules_cc//cc/common",
     ],