librustc: Make monomorphic newtype structs work cross-crate
auto merge of #4892 : pcwalton/rust/xc-newtype-structs, r=brson

r? @brson