vaapi_encode_vp9: Support more complex reference structures