Issue the correct deref count for the implicit deref that occurs
as part of an autoslice operation (#6272).

Fixes #6272.
Remove remnants of mutable fields from mem_categorization, borrowck.
core: Move unstable to unstable/mod.rs
core: Move locks, atomic rc to unstable::sync
core: Rename SharedMutableState to UnsafeAtomicRcBox