[PATCH openEuler-5.10 v2 016/548] tools/nolibc: fix incorrect truncation of exit code