msm8974: Adapt memutils optimizations from msm8960pro
msm8974: Adapt memutils optimizations from msm8960pro