cli: Add extra paths in `detect()` on Windows (#25765)

I'm already integrating CLI into MSYS2 package, and this patche helped
me to make it work like in Arch:
https://github.com/msys2/MINGW-packages/pull/23537. used the same way as
in [Linux
implementation](https://github.com/zed-industries/zed/blob/6856e869fcb8fd2e164a2c43b42ac5046f1d7ea8/crates/cli/src/main.rs#L314)

Closes #ISSUE

Release Notes:

- N/A
a8a05f208bMaksim Bondarenkov committed on 3/1/2025, 4:17:55 PM· committed by GitHubparentaa1ab50
1 file changedLine totals unavailable