HPCC-12297 Remove use of NULL for a non-pointer comparison

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