[PATCH openEuler-1.0-LTS] drm/amdkfd: Check for null pointer after calling kmemdup