[PATCH 5.4 093/434] drm/amdkfd: fix a potential NULL pointer dereference (v2)