x86: fix pointer arithmetic and deref thereof when using char* pointers