avcodec/nvenc: only enforce explicitly set twopass mode