Don't attach stdin and stdout when in detach mode

This is primarily to make it work with Swarm, which checks that AttachStd{in,out,err} is false when creating containers.