avcodec/libx265: add support for ROI-based encoding