Implement the Marshal.Read/WriteXXX methods using unsafe code instead of icalls.