rustc: remove the use of Gc in middle::def::Def.