Fix exec config with 9.x

https://github.com/bazelbuild/bazel/issues/29421

This isn't the perfect fix but I'm not sure if we want to add a dep on
bazel_features to get the right one
diff --git a/rules/licenses_core.bzl b/rules/licenses_core.bzl
index 921cb06..a51f66f 100644
--- a/rules/licenses_core.bzl
+++ b/rules/licenses_core.bzl
@@ -150,7 +150,9 @@
     # A hack until https://github.com/bazelbuild/rules_license/issues/89 is
     # fully resolved. If exec is in the bin_dir path, then the current
     # configuration is probably cfg = exec.
-    if "-exec-" in ctx.bin_dir.path:
+    # The "-exec/bin" suffix covers Bazel 9.0.0 (and <8.7.0 with
+    # --experimental_platform_in_output_dir); "-exec-" covers older layouts.
+    if "-exec-" in ctx.bin_dir.path or ctx.bin_dir.path.endswith("-exec/bin"):
         return [provider_factory(
             target_under_license = target.label,
             deps = depset(),