syntax: fix span for obsolete extern visibility error
auto merge of #8060 : Blei/rust/fix-obsolete-extern-visibility-span, r=pcwalton