GC static_size_of_enum, which was unused
auto merge of #7554 : jld/rust/rm-ssoe, r=catamorphism