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