Fix #9687.

- Fix operator prefix/suffix reversal that caused the first
  argument to be evaluated twice.
- Track if we managed to find a name match for the team at all.
  If not, print an error indicating such.
Add MemoryBlockRetrievalFailed() hook.

Adjust RetrieveMemoryBlockJob to call said hook if we fail to fulfill
the memory read request.
Fix #9684.

Implement MemoryBlockRetrievalFailed() hook in
DebugReportGenerator. Use it to report failure to dump the
stack memory region instead of hanging forever waiting for
the request to succeed.
Cleanup, no functional change.