Detects non-default constructor in serializable classes (which is not allowed by IonObjectSerializer)