link with nvcuvenc and ffmpeg libraries only if WITH_NVCUVID is enabled
Merge pull request #996 from jet47:gpu-nvcuvid-libraries