Fixed an array overflow in CHOptimizedMethod(x, new, ...)

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