avcodec/nvenc: added support for rate control lookahead