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.

Change-Id: I8d1befa0791ae9a3bce868c1c3ef262ff489f052
2 files changed