Fix a bug of ocl retina on NVIDIA platform.
Merge pull request #1399 from pengx17:master_retina_ocl_fix