Reorg argument packing in dmtcp_ssh.

@jiajuncao: Is there a reason for not using a separate function for argument processing?  I think this is cleaner than the other way around.