[PATCH 4.19 049/219] drm/amdkfd: fix a potential NULL pointer dereference (v2)