fixed Erode and Dilate in case of kernel = Mat()
Merge pull request #3082 from ElenaGvozdeva:ocl_morphSmall