fix stitching build when xfeatures2d is available

needed for to build https://github.com/Itseez/opencv_contrib/pull/80