smurf: Check for background (not source) pixels when masking FLT or COM

smf_get_mask reports an error if there are fewer than 5 source pixels.
This is bcecause the AST model masks out background pixels. But the FLT
and COM models mask out source pixels, so smf_get_mask should check the
number of background, not source, pixels for these models.