PDF: try tweaking jbig2dec DOS prevention
PDF: fix memory leaks