PDFBOX-2529: fix bug in equals() introduced in rev 1642970 that prevented detecting duplicates in preflight xml output

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1643387 13f79535-47bb-0310-9956-ffa450edef68