roll: pigweed pw_allocator: Add conversions for managed pointers

This CL adds additional ways to convert managed pointers of one type to
another, in order to make them more flexible and usable by downstream
projects.

* Explicit conversion operators are added to allow downcasting.
* A SharedPtr constructor that takes a UniquePtr is added.
* Some missing comparison operators were added to aid testing.

Original-Bug: 432456663
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/317224
Original-Revision: 9404c71b7d35d364b35ac616eea6c8766ec40358

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: b22a59a7ce927c..9404c71b7d35d3
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8703498757371759089
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I9c32801fbf230014199e0f56e7a04a31227090fa
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/323052
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 11c9dff..ed13083 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -42,8 +42,8 @@
     module_name = "pigweed",
     # ROLL: Warning: this entry is automatically updated.
     # ROLL: Last updated 2025-09-17.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8703520826929519185.
-    commit = "b22a59a7ce927c795e9d88de0ddc63aa2d36c34f",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8703498757371759089.
+    commit = "9404c71b7d35d364b35ac616eea6c8766ec40358",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
 )