HPCC-9792 Improve the error message on invalid use of STEPPED

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