HPCC-9490 Protect against finalizing row with too much data written

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4491 from ghalliday/issue9490

HPCC-9490 Protect against finalizing row with too much data written

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>