roll: pigweed pw_sync_freertos: Fix -Wthread-safety issues with thread notifications

Reference the static lock correctly. Move one check inside lock that was
outside.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/282895
Tests-Not-Needed: Austin Foxley <afoxley@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 6c414a147df06dd7f63f5066f6a8c165bb908e65

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: a18dd872b2c6fd..6c414a147df06d
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8717841019308903249
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I056560ce9b4707d385addad77690a156cbf8bd6e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/283124
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: 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 b7b540a..8fb59ed 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-04-11.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8717851880703518001.
-    commit = "a18dd872b2c6fd544f96b38b31aafca6b4a0fa7b",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8717841019308903249.
+    commit = "6c414a147df06dd7f63f5066f6a8c165bb908e65",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
 )