DOCX export: fix relativeFrom=page, align=right handling

This is the export part of 51a61bd4aca15c860d301b687d582a39193089e2.

Change-Id: I9f7459e99ada8f5f73e9075d249c4e508c941d44