DOCX Input: Handle images in footnotes and endnotes

Fixes #1221686 [conversion from docx cannot handle images in footnotes](https://bugs.launchpad.net/calibre/+bug/1221686)