[Bleeding] Properly handle null enchantments when serializing ItemMeta. Fixes BUKKIT-3369

Null enchantments shouldn't be allowed, but they should be checked just in
case to prevent errors during serialization.