ci: Add patch security check pipeline
Introduces a security scanning job to the templates pipeline that analyzes new code changes for potential vulnerabilities. The scan results are output in JSON format, converted into a structured payload, and used to post summary comments on internal or external GitLab merge requests.
Signed-off-by: Wei-Chia Su Wei-Chia.Su@arm.com