Create and use a death recipient cookie object

It stores the service we want to notify on the death of the binder, and
it's deleted in the onUnlink callback.

Ignore-AOSP-First: b/319210610

Test: cd system/security/keystore2 && atest -p
Test: CTS-verifier app -> Security -> Protected Confirmation Test
Test: Start TEE test and kill confui HAL after linkToDeath
Test: adb shell kill -9 `pid \
               android.hardware.confirmationui-service.cuttlefish`
Bug: 319210610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ade978699c699f610a28455d8549c0243303767b)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:95427c76cb3c699114d6d51f0589ca684e4c7286)
Merged-In: I1c65c93577aee287e26fa23ded43d9e2efc90bf2
Change-Id: I1c65c93577aee287e26fa23ded43d9e2efc90bf2
1 file changed