cpp: replace use of MetadataTools::createOMEXMLMetadata()

The createOMEXMLMetadata signatures were removed from
loci.formats.MetadataTools, so can no longer be used by code that uses
the generated C++ bindings.