TeX driver: Conditionally emit "\input graphics" control sequence.