Transfer the output gradient of GPU ops back to GPU

This was not needed for the other ops in cuda_convnet, because
they were already calling gpu_contiguous.