HPCC-8878 Improve the error message if MAXLENGTH is too small

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