Torah Temimah cites Yoma 74a.
It is different there, for Scripture says “if he does not tell,” and this one is not a person of telling at all.
The Gemara uses the verse’s language of “yagid” to exclude from the shevu’as ha-eidus framework anyone who is not a bar haggadah — one who is ineligible to give formal testimony in the first place.