cpp: tiff: Add region validity check
cpp: tiff: Add region area method