Fix conditional in Object#instance_variable_defined?