HPCC-12697 Fix warnings reported as errors with gcc 4.4

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