libstd: Remove many uses of `Cell`