os_windows: improve stack tracking