HPCC-12628 Fix internal error on ROW(record) with no defaults.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
With 5.1.0 community_5.1.0-trunk0[heads/master-0-gc93d69]