Tried to fix an ArgumentOutOfRangeException in GetSpawnOccupants

as shown in #5588.
Superseded by https://github.com/OpenRA/OpenRA/pull/5890 then.