HPCC-10882 Allow cast real to string<n> if string preserves whole value

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