[SeaBIOS] [PATCH 2/4] smp: refactor present CPU APIC ID detection and counting