adg: protect AdgPath from NULL pairs
adg: protect AdgPath from NULL pairs

Added a check to adg_path_append_valist() (the common denominator of all
the public API adding primitives) that quits the action on NULL pairs
provided.

ntd/adg,ntd/adg