[PATCH 6.1 194/198] drm/amdgpu: fix use-after-free bug