Bug 634417 - Remove inappropriate uses of vanilla malloc/calloc/realloc/free/strdup from SpiderMonkey.  r=luke.

--HG--
extra : rebase_source : 4470cdf58a482eb05f94cd00a9800d8e6a0d2252