Use pointers in cell::{Ref,RefMut} to avoid noalias
#97027
Merged
cell::{Ref,RefMut} to avoid noalias
#97027