Predump the first PID in the ANR process

Dump the first ANRing process as soon as we can in a separate thread,
and copy its stack traces later in the ANRing thread
Bug: 272292150
Test: tested on a device

Change-Id: I3d354535c4f1d799ee8ceeafe2940c7848792af4
8 files changed