Fix thread_yield() bug (didn't restore EFLAGS.IF)