Do not error when an EndOfPage segment is encountered in jbig2
Merge pull request #2571 from mduan/issue2129

Do not error when an EndOfPage segment is encountered in jbig2