librustc: Stop looking in metadata in type contents.

4x improvement in pre-trans compile time for rustc.