avcodec/nvenc: add b_as_ref support for HEVC