cpp: tiff: Don't allow retrieval of TIFF index