Make CudaNdarray_NewDims always set the python exception.
Don't hide the real error during error handling code.