vaapi_encode: Discard output buffer if picture submission fails