Move duplicated code from OpenCL formats to autotune.h file.
Rename "kpc" to "gws" in RAKP OpenCL to avoid confusion (maybe it just
adds to the confusion but at least it's in line with other formats =).