Undoing revisions 2677 and 2678

- Too many bugs in i386 and ARM (compiler errors, and design errors).
- After fixing those bugs, let's apply these changes again.


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