HPCC-11721 Remove maxlength dependency in the field mapping code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I deleted it and then I put it back because I thought something might potentially be put in it.