PDFBOX-1517: fixed start/endpage splitting as proposed by philpv

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