simpleperf: raise priority of stop recording events.

Simpleperf main thread handles several events, like processing
records from record read thread, periodically checking JIT debug
file updates, etc. Some events may take significant time to finish,
and slow down reaction to stop recording events.

To alleviate it, this CL raises priority of stop recording events. So
they only need to wait for the currently running event.

Bug: 227220328
Test: run simpleperf_unit_test
Change-Id: Ib0160fe1da6d81cae8e71f25a5870d320706d2a9
5 files changed