qom: Clean up object_property_get_enum()'s error value