Stop using deprecated RefCell<T>::get

It's going away in the next Rust upgrade (mozilla/rust#13301).

See also mozilla/servo#2135.