Simplify Jbig2Image.decodeInteger()
Merge pull request #4773 from fkaelberer/shorterDecodeInt

Simplify Jbig2Image.decodeInteger()
Add isEmpty method to Stream, DecodeStream and ChunkedStream
Fix loading of fonts with empty font files (bug 866395 and issue 3522)