HPCC-8966 - Provide a context for GetGlobalUniqueIds

Add an IEngineContext for context code to conditionally use
where needed. The need 1st was for GetGlobalUniqueIds to
differentiate it's behaviour depending on engine context and
in particular whether it was being executed from a Thor slave
or not.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8665 Fix the types of link counted arguments to out of line functions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-2998 Some calls to getRecordSize(NULL) remain

Removed some calls in dead code.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8586 Remove code that tries to percolate maxlength when projecting

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4096 from jakesmith/hpcc-8966

HPCC-8966 - Provide a context for GetGlobalUniqueIds

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4104 from ghalliday/issue8665

HPCC-8665 Fix the types of link counted arguments to out of line functions

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-2998 Some calls to getRecordSize(NULL) remain

Removed some more relatively simple cases.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4106 from ghalliday/issue8586

HPCC-8586 Remove code that tries to percolate maxlength when projecting

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4105 from richardkchapman/getRecordSize-NULL

HPCC-2998 Some calls to getRecordSize(NULL) remain

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-8973 Fix build break with huge page support

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

HPCC-8973 Fix build break with huge page support

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>