Revert "Use local memory in linear stencil"

This reverts commit 49d26c52eb9fa3a06293581fe51b5315d34c76cf.
Revert "Looks like a bug with local memory size computation"

This reverts commit cbeda564c4d497ba4e73eb14b85179fa3b1e0f0a.
Revert "May be the problem is lack of local memory?"

This reverts commit 58098efcf26b9a486fd5346d39b215e74ffb235e.