audio policy: fix getDevicesForStream() with preferred route

Fix getDevicesForStream() to return correct device when the stream
is active with an explicit preferred device selection.

Test: manual test with AudioExplicitRouting app.
Change-Id: I3f135b98b50c570ac7123c723f195da64a2d1e20
1 file changed