Sync function added

Memory object, which was created with USE_HOST_PTR allocation flag now
can be quickly synchronized between OpenCL Host & Device.