[PSPDFKit] Minimal changes now that the IntPtr ctor is private