rts: fix threadStackUnderflow type in cmm