cpp: tiff: Handle case where TIFFField and TIFFFieldInfo are absent