selftests/nolibc: exit with poweroff on success when getpid() == 1