ac: add helper ac_build_triangle_strip_indices_to_triangle