eal/arm: adapt CPU flags check to the arch