Add some now-necesssary #[repr] on enums

This was broken in mozilla/rust#15234.
Merge pull request #23 from chris-morgan/patch-1

Add some now-necesssary #[repr] on enums