[PATCH v4 1/3] tools/nolibc: fix up #error compile failures with -ENOSYS