[PATCH 2/2] windowscodecs: Add a NULL check to 8bpp gray converter.