Update disrsi_.c

Introduced an earlier check on the count variable. The existing code checks this too late, in earlier Torque versions this can result in a buffer overflow - although this may not be the case in 4.x due to other code changes, best to play it safe.