[PATCH AUTOSEL 5.10 06/11] drm/amdgpu: Fix potential null pointer derefernce