[PATCH 6.1 138/183] drm/amdgpu: Fix potential NULL dereference