bindings/java: fixed issue when converting returned c-types to java