[dns-dso] use `Array::RemoveMatching()` (#7817)
[dns-dso] use `Array::RemoveMatching()` (#7817)

jwhui/openthread,openthread/openthread,openthread/openthread,abtink/openthread,srickardti/openthread,jwhui/openthread,srickardti/openthread,srickardti/openthread,jwhui/openthread,srickardti/openthread,abtink/openthread,openthread/openthread,abtink/openthread,jwhui/openthread,openthread/openthread,abtink/openthread