Migrate Dependency Scanning to v2
This MR migrates the Dependency Scanning template from v1 to v2.\n\n## Changes\n- Updated .gitlab-ci.yml
to use the new v2 template\n- New template URL: https://gitlab.com/gitlab-org/gitlab/-/raw/3dabc7b4c9daf9f12d934e78215161527de9d013/lib/gitlab/ci/templates/Jobs/Dependency-Scanning.v2.gitlab-ci.yml
\n\n## Why this change?\nThe v2 template provides improved security scanning capabilities and better performance.\n\n## Testing\nPlease review the changes and ensure your CI pipeline continues to work as expected.