pass vararg parameter value as native vararg if function is native and expects vararg