Fix assert on unaligned access to global with different address space size.