leptonica 1.70

Fixes the pull requests for homebrew/homebrew#26379 by upgrading
leptonica to 1.70, patches the pkg-config file, and provides a patch for
jbig2enc to allow it to build against leptonica 1.70

Closes #29434.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
leptonica: remove check option

A large number of tests fail simply because of optional dependencies
that aren't present, and also some tests seem to require gnuplot which
isn't a dependency otherwise. I don't think this is a particularly
useful option.
jbig2enc: reorganize DSL elements
Bump revisions on leptonica dependents