interp: fix memory alignment issue

Casting pointers to specific integer data types requires the address to be
aligned properly for that data type. Since riscv doesn't guaratees that
we access memory using memcpy instead.

Test: tree-hugger
Bug: 265372622
Change-Id: Ife710ef1385035ed1e4db0c2363954486f0f3925
1 file changed
tree: 3c32f0a3a1f23df53ded54ce81ade9703e520c9c
  1. base/
  2. decoder/
  3. guest_state/
  4. interpreter/
  5. Android.bp