[PATCH AUTOSEL 5.15 12/20] drm/amdgpu: Fix potential null pointer derefernce