Validate the ProcessRecord prior to insert to LRU list

If the process has been killed, there is no need to insert it to LRU
list.

Bug: 186829273
Test: atest CtsAppTestCases
Test: atest AutoRevokeTest
Change-Id: I5eeea731ce2080709cc9ba3c75c8a591e4ec10f0
1 file changed