cpp: tiff: Add region union operator