Do not destruct static maps.

In case they are deleted while some threads are using them (this
happens sometimes depending on how these libraries are loaded and how
they are being used).

Noting that b/69122224 is filed to move these into functions.

Bug: 129726097
Test: HIDL's run_all_device_tests.sh
Test: no longer see error where it repro'd before:
FORTIFY: pthread_mutex_lock called on a destroyed mutex

Change-Id: I66eb9aa24e31d7fc652f0426361c17600b4716ec
(cherry picked from commit b1c7d06b1fe4d2b702b3512f946f9a5041fb4ef5)
Merged-In: I66eb9aa24e31d7fc652f0426361c17600b4716ec
7 files changed