Port of #19239 (release/v3.8.54) to main, so the v3.8.53 macOS arm64
installer can be built through the shared standalone job. The per-leg
Next build on the arm64 runner hit the 6 h job limit on 2026-11-06.
Keeps traced symlinks verbatim in the colocated optionals, normalizes
Windows separators in the manifest and refuses relative escapes under
standalone/, and replaces the quadratic tarball block reader with a
bounded chunk queue. Scripts and tests only; the changelog fragment
stays on release/v3.8.54.