Fix cairotwisted curve_length()