xml2-config: Add a --dynamic switch to print only shared libraries
xml2-config --libs
prints static library linking information by default.
This is un-necessary for most programs, so introduce a new option, --dynamic,
which, when combined with --libs, only prints shared library linking information.