fix cpuinfo compilation flag usage (#9029)
Co-authored-by: Chen Fu <fuchen@microsoft.com>
Bug was introduced from PR #8716
When restricting cpuinfo to only known platforms, compilation flag change was not thorough, which accidentally turned off hybrid core detection for ARM systems.
This PR fixes this bug