In the replay profiled in #5099, we observed up to 20 seconds of freeze when someone was defeated.
fatherbushido pointed out that auras of units and structures are recomputed in both OnOwnershipChanged and OnGlobalPlayerDefeated,
whereas the latter is only relevant for playerauras, refs rP19093.
This patch adds the missing check.
Secondly this patch fixes a missing check in CalculateAffectedPlayers for defeated players (forgotton in rP19093).
The third change in this patch is that the PlayerDefeated and PlayerWon messages aren't broadcasted anymore, but only sent to the affected playerentities and entities that subscribe globally.