x86/entry: Get rid of pt_regs_to_thread_info()