Sema: fix type check in `zirIntToPtr`

Simple fix: don't assume a ptr type before it has been checked.

Closes #13567
bc76873827Veikka Tuominen committed on 11/20/2022, 6:25:11 PMparent7b131a7
2 files changedLine totals unavailable