[PATCH 6.0 143/190] drm/amdkfd: Fix error handling in kfd_criu_restore_events