Fixed up md5.c and md5.h for GPU and CPU compiling

Made mdg_gpu.h for gpu compilation of md5.c since it requires
__device__ prepended to the prototype calls for nvcc.