Support for constants in sequential_llvm

Only 1D constants currently supported. Also cleaned up wrapper code
generation to remove unnecessary stack allocations.