Fix build and hang that occurs on alternative GPU types and cuda versions.
On certain GPUs and cuda verions, the spiir pipeline hangs at some point midway through a run. The postcoh_kernel.cu edit fixes the hang, the other edits are to help build a DEBUG version of the pipeline for as many NVIDIA architectures as possible while removing the deprecated ones.