[PATCH vkd3d v3 1/2] vkd3d: Avoid relying on void pointer arithmetic.