Use {Cell,RefCell}::as_unsafe_cell.