fix for zathura double free when document open fails

needed in conjuction with mupdf patch in this directory