Backport "Revert "do not patch the implicit scope of scala.Unit in Scala.js"" to 3.8.0
#24529
+10
−72
scala.Unit in Scala.js"" to 3.8.0
#24529