VAAPI: fix some cppcheck oddities