Update TiffWriter.cc

Fix bug when using pdftoppm or pdftocairo to convert PDF to TIFF always gets "Error writing TIFF header" under Windows