Add a workaround fix for MatrixOperations test if OpenCL device does not support double.

If device does not support double, returns immediately.