Do not complain when exporting exactly the same symbol twice

fixes RT #118965