bazel: Update rules_cc and bazel_skylib

Updates rules_cc and bazel_skylib to their latest versions to prepare
for the migration to rules_cc toolchain rules.

Bug: b/346388161
Change-Id: I90d4e856f800d0b7a5d57a2f5399c7f49c758beb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/236494
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 4a84b33..d0f831a 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -14,14 +14,14 @@
 
 module(name = "examples")
 
-bazel_dep(name = "bazel_skylib", version = "1.6.1")
+bazel_dep(name = "bazel_skylib", version = "1.7.1")
 bazel_dep(name = "freertos", version = "10.5.1")
 bazel_dep(name = "nanopb", repo_name = "com_github_nanopb_nanopb")
 bazel_dep(name = "pico-sdk", version = "2.0.0")
 bazel_dep(name = "pigweed")
 bazel_dep(name = "platforms", version = "0.0.10")
 bazel_dep(name = "pw_toolchain")
-bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "rules_cc", version = "0.0.10")
 bazel_dep(name = "rules_fuzzing", version = "0.5.2")
 bazel_dep(name = "rules_python", version = "0.34.0")