HPCC-12122 Always pass allocator even for null records

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