Small OpenCV-CUDA bugs are fixed.

Small OpenCV CUDA bugs are fixed.