update k2pdfopt to version v2.21
adapt to k2pdfopt v2.21