vaapi: fix argument for ff_vaapi_common_end_frame call