[roll third_party/pigweed] pw_presubmit: Add with_filter() method to Check

Rename _Check to Check so it can be used as a decorator. Then add a
with_filter() method to Check objects, so it's simple to reuse imported
checks but apply additional filters to them.

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

https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: f463acd51147efa..40b9db09c7b1e46
Roller-URL: https://ci.chromium.org/b/8836070530129306641
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8836070530129306641
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Iabb4d528dd058b992b281eb60347fd259c07ab9f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/61021
Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index f463acd..40b9db0 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit f463acd51147efa06d4857be1ae0a7ea64aafc23
+Subproject commit 40b9db09c7b1e46320d2733d0cbdb646c0c56e3d