s3-spoolss: restructure _spoolss_EndDocPrinter().