[FFmpeg-cvslog] configure: fix nvenc detection logic