Create a replacement for Cell<SM primitive>. Fixes #4337.

We still will need a lint to ban any further uses, but that can be a followup.