[PATCH AUTOSEL 4.19 31/35] drm/amdgpu: fix NULL pointer dereference