librustc: Respect no_mangle attribute on statics.