msm8974: Adapt memutils optimizations from msm8960pro(part2)