Workaround for excessive number of channels in CUDA gridder
This is a workaround for a crash that occurs in the CUDA gridder kernel when the number of frequency channels is larger than the BATCH_SIZE
of the shared memory allocated to temporarily hold visibilities.