DOCX export: fix order of table border elements

Change-Id: I17d8634017c5b0374d30501186b338ddedbcd7ea