cpp: tiff: Cope with FieldInfo being unavailable

Hardcode known behaviour, primarily passcount, readcount and
writecount values, and disable checking that the FieldInfo
matches the get/set operations.