riscv: implement a basic `@intCast`

the truncation panic logic is generated in Sema, so I don't need to roll anything
of my own. I add all of the boilerplate for that detecting the truncation and it works
in basic test cases!
3c0015c828David Rubin committed on 5/11/2024, 9:17:11 AMparent685f828
4 files changedLine totals unavailable