tools: added realpath_int() for MacOS script path resolution JIRA IDF-790
tools: added realpath_int() for MacOS script path resolution
JIRA IDF-790

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf