libx265: Write global extradata when requested