[Bug 1167463] GCC 10: libreoffice build fails