Plugin Interface: Added dmtcp_close_protected_fd().

To properly close all the sockets/fds that are used during ckpt/restart
process.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1857 ba6dc0ae-232f-0410-883f-9ebac64fc565