HPCC-8535 Fix cast of a string constant to very large string type

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