Don't emit W098 for exported labels. Fixes gh-1863

Closes #1863
Warn when export declaration used outside of global scope.