x86, acpi, idle: Restructure the mwait idle routines