HPCC-12511 Allow resizeRow() to shrink huge memory allocations

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