PDFBOX-1612: avoid ArrayOutOfBoundsException when creating a PDPixelMap using an indexed colorspace

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