Updating codeql actions to V3. https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/