HPCC-12662 Fix compile issue with older gcc versions

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #6738 from jakesmith/hpcc-12662c

HPCC-12662 Fix compile issue with older gcc versions

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>