APP: Fix to cope with Windows memory handling
APP: Fix to cope with Windows memory handling

Windows frees the memory line.c_str() points to while
sf_serial_mac_txFrame() is still trying to access it. That's different to
Linux on which the pointer stays valid until wait4userinput() terminates.

refs #2765

stackforce/serial-interface-cli,stackforce/serial-interface-cli