cuda: updates debug flag handling helper function for cuda kernels
cuda: updates debug flag handling helper function for cuda kernels

Note: this should address issue #125 for cc >= 3.5

SixTrack/SixTrackLib,SixTrack/SixTrackLib,SixTrack/SixTrackLib,SixTrack/SixTrackLib