fix build with leptonica 1.70

This is fix for building jbig2enc with leptonica 1.70 (it builds with 1.69 too).