audio_policy: Prevent dumping string NULL termination

Change-Id: Ia2e08de45a5e4880c9547a5cf8f93e72d4dd6baa
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_hardware_libhardware_legacy into kitkat