HPCC-10784 Keyed limits on stepped indexreads can be miscalculated

Fix errors in thor following the Roxie fix in this area.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10784 - Fix minor issues spotted in review

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5406 from ghalliday/issue10849

HPCC-10849 Disable through spills for roxie - they only cause problems

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5399 from jakesmith/hpcc-10784

HPCC-10784 Keyed limits on stepped indexreads can be miscalculated

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-10844 Fix some memory leaks in the code generator

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>