[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/8836070529513394145
Cq-Cl-Tag: roller-builder:pigweed-sample-project-roller
Cq-Cl-Tag: roller-bid:8836070529513394145
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Idc7b3fde091b12cd8b221596561fc9defdf81737
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/sample_project/+/61020
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