In https://github.com/dotnet/runtime/issues/57141 I see that `mono_ssa_rename_vars` is entering deep recursion and was resulting in stack overflow on windows. Consider to modify it to avoid recursion.