HPCC-11280 Fix other clang warnings

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