riscv: fix logic bug in `ptr_elem_ptr`

I was doing duplicate work with `elemOffset` multiplying by the abi size and then the `ptr_add` `genBinOp` also multiplying.

This led to having writes happening in the wrong place.
81ca3a1d59David Rubin committed on 7/26/2024, 11:05:41 AMparentcde6956
8 files changedLine totals unavailable