HPCC-10646 Warning: case label value is less than minimum value for type

Change Thread class char (implicit used as TinyInt) type datamembers to int.
Change related functions parameter from char to int.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>