Wait end of GKI_run() to destroy mutex

In GKI_Shutdown(), wait condition indicating that GKI_run() has stopped
before destroying mutex.
Not waiting can cause issue where the mutex is used after beeing
destroyed.

Bug: 374687433
Test: manual
Change-Id: I85148f792db7c115a2d1af7b288e73e5fffd551d
2 files changed