[roll third_party/pigweed] pw_build: CMake library name check improvements

- Do not check names for libraries not under PW_ROOT.
- Enforce checks from the beginning of the string. Previously, names
  with extra prefixes would pass the check.
- Support remapping prefixes in checks to support third_party names
  starting with pw_third_party.

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

https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: fd550368c85a54b..cea5fd2b1076c31
Roller-URL: https://ci.chromium.org/b/8813242013007115665
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8813242013007115665
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I84a6434333dc2237a47be5ff568ee42dda80e26a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/95901
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>
1 file changed