fix a bug of saliency cut

fix a bug which occurs in grabcut while its mask is filled with all
background and without any foreground.