We define gdev_io_memcpy as utility function and use it for memcpy on MMIO memory.
Some functions such as MALLOC, FREE etc. are used, but definitions are scattered. We introduce util directory to share utility functions.
This reverts commit dc5b1ea.
Since memcpy may use SSE code, it's not appropriate for IO memory