refactor(github): refactor triage-issues-with-ai to generateObject (#69696)
## Why
It turns out we should have been using `generateObject()` instead all
along for this use case.
