Make sure the marker-controlled watershed works as well with masks.

The problem was when trying to assign labels based on the already labeled neighbors. We were trying to get a neighbor with less pixel value than the pixel being processed, which might be none due to the use of the mask. This originating result labelings with -3 values.