[SeaBIOS] [QEMU RFC PATCH 4/7] i386: create apic_id_for_cpu() function