Fix #575: Add Scala.js magic number and version to IR binary format