audio policy: fix flag matching in output selection

Make sure we don't pick an output profile with specific functional
requirements (e.g HW A/V sync) for a client not compatible with those
requriements.

Bug: 118704067
Test: Play Netflix and assistant simultaneously
Change-Id: I6529deb6aa322be9f76433b1ead307a8ba367768
1 file changed