CUDA: Fixed complaints about destructor in Visual Studio.

Although the original code is perfectly legal, we have to introduce
some preprocessor magic to solve this issue.
CUDA: Fixing uses of 'uint' and performance warnings.
Direct solve bench: Removed accidental uBLAS dependency.