A Comparative Analysis of Security Patterns for Enhancing Security in Safety-Critical Systems