arch/x64, kernel, libc: add C++ exception support

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
arch/x64: minor early console changes

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