eal/windows: add wrappers for string functions