librustc: Don't require `pub extern` to make extern functions visible
auto merge of #6866 : pcwalton/rust/pub-extern, r=brson

r? @brson