Bug 931048 - fix NULL crash on OOM in handleAsmJSWorkload (r=sstangl)

--HG--
extra : rebase_source : c75b32da99f1520333671b6712e2a9ae3fb6716a