Fixed an array overflow when calling CHOptimizedMethod(..., new, ...)

See https://github.com/rpetrich/CaptainHook/pull/3 for reference.