Make JBIG2Stream::readGenericBitmap return cleanly on error

instead of causing abort

Also fixes warning when compiled with newer gcc
1 file changed