DOCX export: fix handling of shapes containing and also anchored inside tables

Change-Id: I6f23bd0e0553b8f6435537b542fc82ee55a64c03