s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.