vaapi_encode: Write sequence header as extradata