HPCC-9105 Add missing const which was causing a compile error.

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