Thread cleanup of REGS may only be handled by callers to deconfigure_cpu as callers perform post processing on REGS.
Fix cpu_uninit deadlock.