Include a workaround for PDFBOX-1749 by trying to use AWT (if we have a TikaInputStream) to check the TTF is valid. Should mostly solve TIKA-1182 until the upstream fix is done

git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1534816 13f79535-47bb-0310-9956-ffa450edef68