docs: add commit message formatting guidelines to AGENTS.md (#58629)
Add two additional guidelines for commit message formatting:
- When referencing external GitHub PRs or issues, use proper GitHub
interlinking format (e.g., owner/repo#123)
- When fixing CI failures, include the link to the specific CI failure
in the commit message
These guidelines help improve commit message clarity and traceability.