libx265: Support API version 9