AudioFlinger: Synchronize removing client from output descriptor

Avoids race condition where APM::stopOutput is called after
APM::releaseOutput.

Test: audio sanity
Bug: 112067674
Change-Id: I244267d4a157078961589649b1e184206ee23248
3 files changed