HPCC-10525 Solve constant folding functions for ARM

More compile errors on ARM

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>