Fix tests crash for gpuarray back-end. Don't do constant folding with the new op.
Merge pull request #1830 from nouiz/gpuarray_fixes

Fix tests crash for gpuarray back-end. Don't do constant folding with th...