BATIK-963: ArrayIndexOutOfBounds in AbstractWMFPainter with 1-bit color images; patch submitted by a6537691, AKA Viliam Durina

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