Add stats logging in appDiedLocked.

Note:
On the device which doesn't have Cgroup log LmkStateChanged which is used as a signal
for pulling memory stats of other running processes when this process died.

This feature would be available on production builds.

To know more about this see: http://go/android-p-memory-metrics

Bug: 73660232
Test: Tested manually
Change-Id: I88c881353ce9e9cdc4201f70731cbd12c79a488a
3 files changed