matrix.cpp::setSize(): fixed out-of-bounds access on cv::Mat steps