djvulibre & ghostscript: osx 10.9 fixes

djvudigital & its helpers were producing corrupt djvu files when compiled with clang
gcc builds still work properly
ghostscript (--with-djvu) still works if compiled with clang

should this patch be applied to head or just stable? If the latter, it should be scoped in a `stable` block along with the url and checksum