DOCX Input: Fix error when converting document with nested frames. Fixes #1317543 [Conversion of a particular DOCX file](https://bugs.launchpad.net/calibre/+bug/1317543)