wio: Add fixed-sized memory-buffer I/O object

Adds w_io_mem_t, which can read/write data from/to a region of memory
of a certain fixed size.