fdo#75260: Align exterior borders of a table correctly for double lines.

This fixes double border drawing problem with table objects in Draw and 
Impress.

Change-Id: I76527d610b74018b5e056ff72cc9e37e9f9c6f03
(cherry picked from commit 8ff746e1ad4950124e09da2dc913d8d64c726c90)
Reviewed-on: https://gerrit.libreoffice.org/8651
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>