I've changed this to Won't fix because, as orolpoint stated, the problem here is Ghostscript itself. However, maybe we could try to identify PDFs with forms and work around that. I can't try it right now, but it looks like pdfinfo can identify AcroForm and XFA so that could be a way to warn the user that Compress-PDF won't work. If we could actually identify the pages with forms, maybe we could split the PDF, compress all pages without forms and reassemble it after.
I've changed this to Won't fix because, as orolpoint stated, the problem here is Ghostscript itself. However, maybe we could try to identify PDFs with forms and work around that. I can't try it right now, but it looks like pdfinfo can identify AcroForm and XFA so that could be a way to warn the user that Compress-PDF won't work. If we could actually identify the pages with forms, maybe we could split the PDF, compress all pages without forms and reassemble it after.