Fix nightly fallout

This is derived from @0xc0170's work in #258. This fixes `ioreg!` and platformtree. There are plenty of warnings of missing `Copy` impls remaining that probably ought to be fixed.