PDFBOX-2371: fixed allPagesOverlay as proposed by Laurent Yaish

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