Remove hacks around issues in local_data

These compiler bugs have since been fixed (one less layer of indirection)
auto merge of #9073 : alexcrichton/rust/remove-local-data-hax, r=huonw

These compiler bugs have since been fixed (one less layer of indirection)