Fix CUDA 5.5 support (npp, arm cross compilation) in CMake scripts:

The patch was submitted to CMake and might be available in the next CMake release.

But until we have the fix in CMake we should add workaround in our scripts.

We already have some workaround, but it was a bit hacky and non-portable.
This fix provides better control for user.