[JENKINS-22160] Fix findings from FindBugs static analysis

- SloccountParser: Possible null pointer dereference.
- SloccountDiff: Class defines compareTo(SloccountDiff) and uses Object.equals().
- SloccountPublisher: Format string should use %n rather than \n.
- BreadCrumbResult: Implements same interface as superclass.