Fix dmtcp_discover_rm to support SLURM cpu affinity.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2531 ba6dc0ae-232f-0410-883f-9ebac64fc565