HPCC-9817 Fix issues comparing against a NULL unicode string

Strange as it may seem, the ICU compare functions check for NULL
pointers as parameters, and sometimes abort early giving the wrong result.
See http://sourceforge.net/mailarchive/message.php?msg_id=29406824 for
a similar issue.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4720 from ghalliday/issue9817

HPCC-9817 Fix issues comparing against a NULL unicode string

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>