Allow flattening native-typed arrays into argument lists on JVM