JENKINS-23511: Add serialVersionUID to anonymous inner class

When doing RMI with VMs from multiple vendors, all class should have a serialVersionUID
as the default value generated by different VMs may not always match.

I've tested this using in the Jenkins ver. 1.532.3 LTS server and this corrects the linked issue for me when building on an AIX slave (IBM JVM).