fix effects of special fields that can change between processes (#61595)
These fields are technically mutable, but inference knows they are never
actually mutated. However, they can change between processes since
staticdata.c has special handling to relocate them. fixes #61590