[PATCH] i386: use thread_info flags for debug regs and IO bitmaps