Fix off-by-one error in rP24980.
rP24980 replaced the ExploreTerritories logic, but I did not account for the territory grid being N cells wide when the LOS is N+1. Therefore, we could get out of bounds.
Reported by: Vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3765