wasm: Implement pointer arithmetic and refactoring:

- This implements all pointer arithmetic related instructions such as ptr_add, ptr_sub, ptr_elem_val
- We refactored the code, to use `isByRef` to ensure consistancy.
- Pointers will now be loaded correctly, rather then being passed around.
- The behaviour test for pointers is now passing.
ad1b040996Luuk de Gram committed on 1/1/2022, 11:59:43 AMparent28cfc49
2 files changedLine totals unavailable