Implement StringBuilder.setLength

The `*` might add additional dependencies in the scalalib (and grow emitted code size). Let's see what checksizes says.