tiff output: tentatively fix compilation with libtiff 3.9 which lacks tmsize_t