fix stitching build when xfeatures2d is available

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