Refactor semgrep-sast rules in SAST-Pages.yml for improved conditional logic
This change consolidates the conditions for the semgrep-sast job, ensuring it does not run when either SAST_PAGES_DISABLED or SAST_DISABLED is set to true. This streamlines the logic for better clarity and maintainability in the CI pipeline.