[PATCH v2 1/4] tools/nolibc: Replace ifdef with if defined() in sys.h