HPCC-8772 Fix core when serializing a row that didn't need it

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