When compiling an extern definition like
extern def foo(): Unit = js """
"foo"
"""
in a non-matching backend (e.g. chez), we output a warning.
It would be nice to only output this warning if the definition is actually used (reachable transitively from main).
(Future work from #427)