Sema: allow @ptrCast of slices changing the length
#22706
Merged
@ptrCast of slices changing the length
#22706