avcodec/nvenc: convert profile parsing to AVOptions