Core: Use an enum for indicating CPU cores

Needs CORE_JITARM64