Remove NewIntent/TopResumedItem pooling (15/n).

Remove the use of ObjectPool in the creation and management of
NewIntentItem and TopResumedActivityChangeItem objects. Instead of being
obtained from the pool, these objects are now directly instantiated,
simplifying their handling and aligning with the broader removal of the
object pooling mechanism.

Bug: 311089192
Test: atest FrameworksCoreTests:ActivityThreadTest
Test: atest FrameworksCoreTests:ObjectPoolTests
Test: atest FrameworksCoreTests:TransactionParcelTests
Flag: EXEMPT removing com.android.window.flags.disable_object_pool
Change-Id: I74f250434ba76633a71f180054e58977fd76c7bd
7 files changed