serial: add public API for serial_iterate_devices
serial: implement part of windows port