Add FD_CLOEXEC flag for sockets, /dev/mem and LAD pipes