Do not run LBFGS tests when using CUDA
The LBFGS solver does not (yet) support CUDA. Therefore, it doesn't make sense to add these tests when using CUDA. Worse, adding them will cause an error, because the test framework doesn't find any tests to run. (This error should be a warning IMHO.) By simply not adding these tests, the error is avoided.