[runtime] Unboxing of nullable enums should throw for boxed ints. (#6958)