rustc: fix const enums to be packed, r=burningtree.
test: fix issue 2526 'unsafe' block-keyword, r=burningtree.