pthread_mutex_destroy is called multiple times with the same mutex

GKI_exit_task is not protected from being called multiple times with the
same task_id. Use OSrdyTbl state to prevent double release of the mutex.

Bug: 196515013
Test: nfc on/off
Change-Id: I9d1b36f33b6a8acba94eab0d4c2cd13ea16be80f
1 file changed