Fix x86/x64 size_t related warnings