Remove unsafe checks for CUDA errors

`cudaErrorCheck_void` and `throwRuntimeError_void` were not safe enough to be kept. Indeed, they were not able to free the allocated memory.
This could have led to memory leaks.

`cudaErrorCheck_void` has been replaced by `cudaErrorCheck_goto` which makes a `goto onfailure` in case of failure.