PDFBOX-1094: Fix for NPE in jagpdf and patterns drawn black

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