pmd-eclipse: Fix compile errors after updating to latest PMD 5.1.0-SNAPSHOT.