[PATCH 5.4 118/184] drm/amdgpu: fix NULL pointer dereference