sw: convert last usage of switchHeaderFooter() to DocxTableExportContext

Change-Id: I47c5c60b0ffef3923c1d2830de992e1a67eb76ff