[AdgPath] Removed internal needed_pairs()
[AdgPath] Removed internal needed_pairs()

Rely on the CPML library to get a primitive length instead of hardcode
another cpml_primitive_type_get_n_points() clone.

ntd/adg,ntd/adg