audio HAL: fix thread starvation

Fix thread starvation issue where the capture or playback threads
running in FIFO priority would constantly acquire the stream mutex preventing
other threads to complete routing commands.

Bug: 21880828.
Change-Id: I36e9c609857dd1bc959809326350a04c3af92228
2 files changed