c_code for GpuGroupDotGrad
Small generalization fix for GroupDot c_code().