[roll pigweed] pw_build: Fix bug in has_pw_assert_dep

Also add a unit test. The third and fourth cases are regression tests
for this bug.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106911

https://pigweed.googlesource.com/pigweed/pigweed
pigweed Rolled-Commits: 3a5e776d36abbd4..fc5105ad72fd6bc
Roller-URL: https://ci.chromium.org/b/8805454410939140273
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Iea9bf92899dfc75ff2e273194693a97fd1d0b933
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107396
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pigweed b/pigweed
index 3a5e776..fc5105a 160000
--- a/pigweed
+++ b/pigweed
@@ -1 +1 @@
-Subproject commit 3a5e776d36abbd48ecfb5222ea641f916e76b21e
+Subproject commit fc5105ad72fd6bcb6a09b82a963c21e282e9f04c