Debugger: Fix CID 1223239.

- Rework part of report generator to add missing memory allocation
  error checks.
Debugger: Fix #11204.

- When waiting for a thread stack trace to be acquired, in some circumstances
  it was possible for us to not re-acquire the Team lock before moving on to
  parsing and writing out the information. This could potentially lead to race
  conditions when retrieving some of the Team's data, and ultimately crashing
  while writing out report data.
- Add missing error check in _DumpStackFrameMemory().
- Delete team data semaphore on exit.
Network Preflet: watch for network interfaces changes.
Not yet 100% working.