Fix the code used to detect aarch64 capabilities when we don't have getauxval()