x86: Fix void pointer arithmetic

ANSI C forbids `void` pointer arithmetic.