[PATCH 6.1 145/219] drm/amdkfd: Fix iterator used outside loop in kfd_add_peer_prop()