getTmpDir() logic improved.

getTmpDir() is now served from SharedData instead of UniquePid.

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