[PATCH] drm/amdkfd: Fix potential NULL pointer dereferences