target/i386: Fix sanity check on max APIC ID / X2APIC enablement