Fix JBIG2 decoding issue #5026
Merge pull request #5110 from fkaelberer/issue5026

Fix JBIG2 decoding issue #5026