[Bug 53032] winedevice.exe segfaults on exit (Segmentation fault) when built by GCC 12.1 (Fedora 36)