arch/x86: Add support for local APIC

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/x86: Fix reading i8253 counter

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/x86: Keep interrupts disabled until launch_kernel()

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>