cpp: Move metadata classes from bioformats to ome-xml