eal: fix recording of detected/enabled logical cores