Stop using deprecated RefCell<T>::get

It's going away in the next Rust upgrade.