init: move close(stateDirFd) before seccomp apply
init: move close(stateDirFd) before seccomp apply

This further reduces the number of syscalls that a user needs to enable
in their seccomp profile.

Signed-off-by: Aleksa Sarai <a8eb12d32d6ec07cdf737175ec7d4a0f1b4e1ee7@suse.de>

mheon/runc,estesp/runc,laijs/runc,crosbymichael/runc,rhatdan/runc,rajasec/runc,rajasec/runc,wking/runc,laijs/runc,sunyuan3/runc,cyphar/runc,opencontainers/runc,kolyshkin/runc,mikebrow/runc,estesp/runc,mikebrow/runc,rhatdan/runc,justincormack/runc,stefanberger/runc,xiaochenshen/runc,stefanberger/runc,crosbymichael/runc,cyphar/runc,laijs/runc,wking/runc,estesp/runc,mheon/runc,opencontainers/runc,sunyuan3/runc,kolyshkin/runc,opencontainers/runc,xiaochenshen/runc,dqminh/runc,rhatdan/runc,xiaochenshen/runc,mYmNeo/runc,adrianreber/runc,adrianreber/runc,kolyshkin/runc,dqminh/runc,opencontainers/runc,dqminh/runc,kolyshkin/runc,adrianreber/runc,rajasec/runc,justincormack/runc,cyphar/runc,mikebrow/runc,wking/runc,mYmNeo/runc,crosbymichael/runc,stefanberger/runc,dqminh/runc,mYmNeo/runc,mheon/runc,rhatdan/runc,justincormack/runc,sunyuan3/runc