Enable privacy check for enum methods.

As the title says. The fix is just one line in ` src/librustc/middle/privacy.rs`. The other modifications are small errors revealed by the new check. This missing check could also lead to linker errors when using a non-public method in another crate.