[CRT] Remove mingwm10.dll usage in tls support code