added error notification in case when stitching fails (#3122)

http://code.opencv.org/issues/3122