sl/symproc: avoid ignoring (0 - i) and (i - 0) expressions

They were seen as (NULL + (unsigned long)ptr) by mistake.

Reported-by: Petr Muller