Fix win32 jthread implementation
Merge remote-tracking branch 'minetest/master'