librustc: Remove all uses of `~str` from librustc.