avcodec/nvenc: convert levels to AVOptions