drm/amdkfd: fix improper return value on error