hal: ensure voip tx update base on the rx path

Voip does not use primary output in rx path. When voip
rx device change, voip tx path is not updated accordingly.

Fix it by selecting voip tx device base on the rx path,
otherwise base on primary output device.

And add primary output validity check during voip device switch.
Change-Id: I6380cb422f847d9c778a411628d95792cee23d18

CRs-Fixed: 2289517
Change-Id: Ic078eb057be40dd4338ade70f541bb056c19dfca
3 files changed