Make Allen compatible with Apple Silicon
This MR makes Allen compatible with Apple Silicon. Few changes were needed to make it work:
- It extends the TargetArch CPU detection system in Allen to also detect Apple silicon.
- It removes two warnings found with clang 12.