PDFBOX-1164: add heuristic by Timo Boehme to detect wrongly assumed end of inline image

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/1.8@1575427 13f79535-47bb-0310-9956-ffa450edef68