configure: make HWLOC_VERSION available everywhere, even in embedded

VERSION is only available in standalone.
Move the extracting of VERSION to HWLOC_SETUP_CORE,
and update PACKAGE_VERSION accordingly later.

(cherry picked from commit 951a7ce76c05bbfba81aa5721612ef43f0482b53)
Use HWLOC_VERSION instead of VERSION everywhere in the code

(cherry picked from commit 621d930d64f007053f1ceda44003b015e233be04)
core: add the HWLOC_VERSION string to error messages

Will help find the corresponding line in the source code, etc.

(cherry picked from commit 6eb8ff7bc14afcdf991fa4e674a179938e31e5f2)
core: insert_object_by_parent() doesn't need to check children order, only XML does

Most use cases of insert_object_by_parent() are just inserting I/O and Misc,
no cpuset ordering there.
Out-of-order when duplicating would require a fix in the source topology,
not at duplicate/insert time.
XML is the only case when out-of-order insert_by_parent() can really occur,
move the warning to the XML code, and improve the error message.

(cherry picked from commit ded34cc8a352e2232a70518778425e676cb7d8d4)

This requires:
core: export hwloc__object_cpusets_compare_first()
(cherry picked from commit 5a8f637b734c785f3f771010d9b3841b2c01c27d)
core: add a hwlocVersion attribute to the topology

When loading from XML, don't overwrite it.

This is useful for debugging warnings/problems when
passing XMLs between processes such as Slurm, OMPI, ...

(cherry picked from commit 7c5df6bdcf05897b0c8a65d5f773774715a7f8b8)
core: display versions and process names in out-of-order XML import errors

When getting out-of-order XML import errors because mixing hwloc versions
in complex environment such as MPI and Slurm, display the current and
original hwloc version and process name.

(cherry picked from commit 3cb4e0f112641987030b1a3a94124bd4641ed356)

We don't have progname in v1.10 but still display the XML imported
ProcessName attribute if available.
VERSION: replace gitclone with 1.10.1rc2-git

Make config/hwloc_get_version.sh replace some ${foo} as well as ^foo.
Don't replace all occurences of foo to avoid breaking something else by mistake.

(cherry picked from commit e7c0d70a89bdee30b6dddea7808cd1de55a0b488)
NEWS update