[PATCH OLK-6.6 519/525] drm/amdgpu: Fix possible null pointer dereference