librustc: Respect #[link_name] on extern statics. Fixes #9270

Fixes #9270