Do not error when an EndOfPage segment is encountered in jbig2

Fixes #2129