Fix Cuda -Wl linker options

This line causes the following error when building custom projects that use OpenCV beta 3:
ld: warning: directory not found for option '-L/<project_root>/-Wl,/usr/local/cuda'
Merge pull request #3410 from mgharbi:master