Add an error message for invalid use of malloc on Cheerp