Support grayscale PNGs

PNG_TRANSFORM_GRAY_TO_RGB must be supplied to png_read_png() to expand greyscale into RGB channels.