sl/symproc: avoid computing bit mask on unbounded intervals

Reported-by: Petr Muller