Move scalaJSExternalCompileSettings outside the sbt plugin.

It has been relevant only to the build of Scala.js itself for
a few months, now.