st-hal: fix headset device switch failure while buffering

If headset is connected while buffering, device switch is resulting
in failure due to improper handling of multiple clients mapped to same
hardware session. Fix the same.

Change-Id: Ifc3011e11f11a59150bc4a71acec7754ca04a5ed
1 file changed