[PATCH] drm/amdkfd: fix a potential NULL pointer dereference