cpp: test: Add tiff tile read tests
cpp: tiff: Null TIFF handle after close
fix