HPCC-9947 Improve the warning for an invalid use of NOTHOR

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