aioring: check for arch support AFTER including the headers