[PATCH 1/2] selftests/seccomp: Move test child waiting logic