Safety Engineering of Computational Cognitive Architectures within Safety-Critical Systems