Added panic() function to print a message and halt the kernel.
I/O APIC address correctly read from ACPI tables.