Add as_unsafe_cell() for Cell and RefCell

Fixes #18131.