Address review findings in PKG inventory:
- Read the xar TOC checksum only when its declared size equals the
algorithm's digest length. A crafted size can no longer trigger a huge
allocation.
- Associate cpio hard links whose bytes are stored on another member
(newc stores them on the last link). Linked bytes are kept, within 16
MiB per member and 64 MiB in total, and served to every path. A link
whose bytes never appear is recorded with content unavailable and a
limitation, not hashed as an empty file. ArtifactEntry gains
`contentUnavailable` for this.
- Verify `070702` member CRCs whether or not a member is opened.
- Report malformed zlib members as `format`, and keep cancellation as
`cancelled` while loading, opening, or streaming members.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>