Fixed incorrect pointer arithmetic on SGen for MSVC.