HPCC-10164 Don't substitute constants into ATMOST join conditions

This should be improved later (see HPCC-10166), but this fixes the compile
errors.

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