[PATCH AUTOSEL 6.10 134/197] drm/amdgpu: add list empty check to avoid null pointer issue