djvulibre: bugfix for corrupt output djvu files on Mavericks
applies upstream patch: https://sourceforge.net/p/djvu/djvulibre-git/ci/2c904e0cb8314c0d2314331e5ac1eaf65a7757b4/

fixes #22076