HPCC-10537 Remove warnings from some of the compiler only tests

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