VAAPI: Use shared_ptr::unique() instead of use_count()