rc, arc: add copy-on-write mutable borrowing to Rc and Arc