[PATCH 5.15 086/262] drm/amdkfd: Check for null pointer after calling kmemdup