fix #28
https://github.com/kohsuke/com4j/issues/28
If param as return value is not the last param, it may cause a segment fault.
By jumping return index in  invoke.cpp Environment::invoke