arm64: capabilities: Use linear array for detection and verification