[FIXED JENKINS-22798] Fix method visiblilty issue

This is another issue caused by the matrix code moving into a plugin: a separate classloader is used for the plugin code that was used for the Jenkins core, so protected methods are no longer properly visible between the matrix code and the core, even when called from the same package. This commit adds a method that's visible in the plugin classloader and delegates to the class in the core classloader.