Bug 1057140 - Revert JS_realloc bustage from bug 1033442; r=sfink