hal: Fix VoIP ouput is closed if voice+voip concurrency is enabled

In APM, VoIP output would be closed even if Voice+VoIP concurrency
is enabled. This is due to FLAG_DIRECT is set for compress VoIP by
default. While direct output is forced to closed if Voice+Playback
concurrency is disabled.

Fix this by adding proper flag check to avoid VoIP output is
closed.

CRs-Fixed: 1087113
Change-Id: Idbfc1b499a1252f162300f4e1be4d27b44b7e95c
1 file changed