legacy: msm8660: fix arithmetic on a pointer to void