improve error message on memory growth in asm.js