value: Crash harder if we don't have introspection info for an enum

Currently, we accidentally crash if we don't have introspection info
for an enum, because we try to unref the NULL info. Instead of fixing
this so that it doesn't unref, let's ensure that we do have
introspection info for an enum.