Select haptic output when haptic-generating effect exists.

Haptic-generating effect must be attached to haptic output thread as it
requires writing haptic channels. In that case, when haptic-generating
effect exist, try to select the output that it is attatched to.

Bug: 136490803
Test: make
Change-Id: I6be84a3edac1094d6e457b3226c3930f28219167
4 files changed