[w32handle] Ensure we initialize begore the gc attach the current thread (#3644)