Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly.  r=nchen