allow constructing Rc/RcMut from Const types too
auto merge of #6520 : thestinger/rust/rc, r=pcwalton

This is still enough to prevent cycles (explanation given in the docstring).