AudioDeviceBroker: fix dispatchCommunicationDevice()

Add null check on the device returned by getCommunicationDevice().
This can happen for instance if the native audio policy could not be intialized
properly.

Bug: 182844679
Test: make.
Change-Id: Ie2b79aad9caea958af2071a0c4133121d311506e
2 files changed