Fix order of edi, esi, ebp, ebx in switch_threads_frame. Doesn't