Do not use the global AMS lock in AppExitInfoTracker

It could be called with global WMS lock held.

Bug: 150770486
Test: atest FlickerTests
Test: atest ApplicationExitInfoTest
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: Ic94fdbf4f8718245f5b0f25c41a2596a16841b0e
2 files changed