Rename memory allocation functions.
Handle malloc() failure in allocation routines.
Add support for calling SPIRAL generated code.