target/arc: introduce arc_read/write_instruction functions