audio_policy: Prevent dumping string NULL termination

Change-Id: Ia2e08de45a5e4880c9547a5cf8f93e72d4dd6baa
Merge pull request #8 from CyanogenMod/cm-11.0

audio_policy: Prevent dumping string NULL termination