windows: Remove useless assignment in put_thread()