opencl: fix grc typo and cleanup gen'd code