ldgen: fix library path parsing in windows
ldgen: fix library path parsing in windows

Closes https://github.com/espressif/esp-idf/issues/3173

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