Backport Fix #1181: Support supplementary chars in RuntimeString.

Backport: Adapt calls to thiz.

(cherry picked from commit 63e8ed684eb92d68ceada09cb31a40b6c137fb20)

Conflicts:

	library/src/main/scala/scala/scalajs/runtime/RuntimeString.scala