(Apple) Refactor away apple_get_core_id