Rework ARM feature detection, which must be done at compile-time.