FOP-2410: fix fo:page-number in bidi context

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