cpp: MinimalTIFFReader: isThisTypeImpl is protected
cpp: tiff: IFD makeCoreMetadata returns a shared_ptr

This avoids an unnecessary full copy of the CoreMetadata content.
cpp: MinimalTIFFReader: Simplify isThisType check