Fixes for LibreOffice 4.2+ generated docx

Due to an odd bug, graphic parsing in some instances is problematic in these documents. This fix allows the parser to run. There still seems to be a problem with handling these images, though, that needs to be investigated.