Fix typo in prior attempt to resolve malloc/free mismatch in libstd tests.
Further hackery in attempt to deal with crazy resolve issues.

I am pretty sure that my earlier code must have been hitting resolve
bugs for it to fail in the way that it was.