Sema: avoid passing undefined as reason to `failWithNeededComptime`

Closes #13046
c0350cf87eVeikka Tuominen committed on 10/5/2022, 2:26:29 PMparent3234e8d
2 files changedLine totals unavailable