x86/acpi: Fix incorrect sanity check in acpi_register_lapic()