Fix ImageToContourFilter for arbitrary contour values
The filter did not produce uniform results for different contour values.
The values of the mask that is created for the input image are now
always set to 0 and 1 independent of the contour value, which results
in uniform behavior of the contour extration filter.