audio_helper - Fix a NoneType error.

The get_mic_jack_status and get_hp_jack_status could be None.
Cast it to bool explicitly to solve the issue.

BUG=chromium:364968
TEST=None

Change-Id: Ib58c6e4000839fe9537b6c85b180017682e81e7a
Reviewed-on: https://chromium-review.googlesource.com/195716
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Owen Lin <owenlin@chromium.org>
Tested-by: Owen Lin <owenlin@chromium.org>
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
1 file changed