Panic if memory allocation fails

Adds wrapper functions for malloc, realloc and free, and replaces all existing uses of the standard functions with the MVM_* wrappers.