Use gdev_io_memcpy instead of using functions defined respectively

We define gdev_io_memcpy as utility function and use it for memcpy
on MMIO memory.