TOMO-24 Fix compiler bug in NXMetaDataProviderTest and in
NexusDataWriter when using NXMetaDataProvider