HPCC-11935 Fix Narrowing Conversions

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
I guessed wrong. I had no idea why you'd ever need a nodeIndex to be so large but at the same time observed the larger population of it being defined as an int rather than short - so assumed these were correct.