cpp: tiff: Iterator returns shared_ptr