HPCC-9734 Increase the maximum number of loop iterations

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4673 from ghalliday/issue9734

HPCC-9734 Increase the maximum number of loop iterations

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>