Fix warning of activity LRU list removal

In ActivityRecord#destroyImmediately, the #cleanUp has
removed the destroying activity from LRU list (since
2322bed), so the later removal cannot find the existing
record and then always prints warning log.

Also update LRU list for the case of reparenting
(onActivityAddedToStack).

Bug: 80414790
Test: Launch and finish an activity. The log should not
      have warning "not in LRU list".
Change-Id: Ie7ce1ba7a4af95af6640b5833f6a7cd06ac8f8d4
3 files changed