Fix bug in OIOMetadata._check_data_type()