Fix corner cases involving MethodHandles.permuteArguments with long or double argument lists. Reviewed-by: twisti, never