Compile util/*.c in all modules

Now we can share C files in util directory
Implement STRDUP

To use strdup function in kernel space, we implement STRDUP and
use it in gdev_cuda.c.