vaapi: fix mismatched close callback prototype