Backport of StereoBM uninitialized memory access problem fix from master branch
Backport of StereoBM uninitialized memory access problem fix from master branch

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv