Fixed possible infinite loop in Resolve-DscConfigurationProperty

Loop condition appeared to be intended to only check 5 or 6 scopes before bailing, but the logic was flawed, and the loop would go on forever unless it found a valid $ConfigurationData variable.