audio: Fix check for sonification on digital docks

Change-Id: If077bc6336ce57256dd078d0cbe80c3b5e3a0b6e
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_hardware_libhardware_legacy into cm-11.0