9ea10763e4
On Windows, wintun.dll may pass an invalid pointer to the logMessage callback, causing a nil pointer dereference in UTF16PtrToString that panics the entire process. The upstream wintun-go library has not fixed this since 2021. Add defer/recover in tun/tungo/tap listenLoop inner closures to convert panics from createTun/createTap into logged errors, allowing the retry loop to recover gracefully instead of crashing the process. Fixes go-gost/gost#482