Update textogif.pl

Added XeTeX functionality, at least if XeTeX would produce DVI files.