roll: pigweed pw_thread: Make the deprecated Thread constructor private

pw::Thread has been updated to take a pw::Function<void()> instead of a
void(void*) function and void* argument. This change makes the
deprecated constructor private. This removes it from the public API
without requiring changes to pw_thread backends. A subsequent change
will delete the deprecated constructor and associated classes.

This is a breaking chnage. Migrate uses of the deprecated pw::Thread
constructor to the pw::Function<void()> constructor.

Original-Bug: b/367786892
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236435
Original-Revision: 30bdace4866039e26a05f8baa379630e066ad660

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 4f8b0a26fdc1f7..30bdace4866039
Roller-URL: https://ci.chromium.org/b/8735313087074342593
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I6b57f38a777ba84d30cc1b3c0a3d19a7d2e56ffb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/238862
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index fb9b633..36de119 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
     module_name = "pigweed",
     # ROLL: Warning: this entry is automatically updated.
     # ROLL: Last updated 2024-10-01.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8735324962756568881.
-    commit = "4f8b0a26fdc1f709e8c9cb3367735767aa67b1e9",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8735313087074342593.
+    commit = "30bdace4866039e26a05f8baa379630e066ad660",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
 )
 
@@ -58,8 +58,8 @@
     module_name = "pw_toolchain",
     # ROLL: Warning: this entry is automatically updated.
     # ROLL: Last updated 2024-10-01.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8735324962756568881.
-    commit = "4f8b0a26fdc1f709e8c9cb3367735767aa67b1e9",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8735313087074342593.
+    commit = "30bdace4866039e26a05f8baa379630e066ad660",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
     strip_prefix = "pw_toolchain_bazel",
 )