codegen: Use `emit_static_roots` for "allroots" case (#60656)
The way this ABI optimization is implemented is a bit awkward, since it
means that either the "bytes" have to start acting like "pointers" or
vice-versa.
This adds some minimal plumbing to make sure that we label these as
roots appropriately (and zero-init them).