lavc: add a field for passing AVHWFramesContext to encoders