rustc: Remove codemap and reachable from metadata encoder
auto merge of #12589 : brson/rust/metadata, r=alexcrichton

Unused.