Sema: avoid use of undefined value for generic fn calls

I saw some issues in Valgrind which are fixed after this commit.
f1cff4fa4aAndrew Kelley committed on 6/9/2022, 10:09:48 PMparenta3f05b8
1 file changedLine totals unavailable