tackle issue that after wbCUDAMalloc call of cudaGetLastError() delivers 11 (invalid argument)

I had wrapped my original cudaMalloc call with wbCheck which checks the err from line 22, but the cudaMemset from line 24 causes cudaGetLastError() to deliver 11 (invalid argument) which causes some trouble. Anyway, CUDA has probably not performed the line 24.