Make scanl use a reference instead of a variable.
Merge branch 'quick-scanl2' of https://github.com/pjonsson/feldspar-compiler into pjonsson-quick-scanl2

Conflicts:
	lib/Feldspar/Compiler/Imperative/FromCore/Array.hs