Correct overflow in trunc.w.s for interpreter.

Reported in #4786.