rustc: Make type_names and named_types tables in trans use @str instead of ~str

Cuts down on bad copies (though there are still a few that can go
away once there are impls of push / append / + for @str)