Alloc cst fold

Fix a buildbot test following the earlier constant folding on the GPU.

This could also speed up some code by disabling constant folding of alloc when the clients would work inplace on it.