smurf: Fix segfault with ZERO_SNRLO masking
smurf: Improvements ot merging of clumps when using ZERO_SNRLOW masking

This fixes a problem that caused some rows of pixels to be missed out of
the mask.