[JENKINS-25017] Also work for Depende*n*cyDeclarer introduced in Jenkins 1.501.

[JENKINS-25017] (https://issues.jenkins-ci.org/browse/JENKINS-25017).

Jenkins 1.501 renamed `DependecyDeclarer` to `Depende*n*cyDeclarer` (See jenkinsci/jenkins@e451687beb547a64664803ce44a0bbf1938251ca).

It tries to avoid regression by declaring `DependecyDeclarer` as a sub class of `Depende*n*cyDeclarer`, but doesn't work for Flexible Publish.