fix SVG creation for indexed PNG images

don't use a separate Raster and get the pixel format wrong on getPixel()
simply use getRGB() on the already available BufferedImage instead