Fix CUDA cvtColor after corresponding change in CPU version

see https://github.com/Itseez/opencv/pull/3137