Use the new memset
Fixup string handling routines for QCOM devices.