cpp: Create shell fragment with configured version metadata

This can be sourced by any script which needs to know which
bioformats version it's working with.
xsd-fu: Document C++ Enum template operators