[AdgPath] Added adg_path_append_{primitive,segment}()