EMF+: Only draw endcap outline if not filled, fix endcap scaling.

Change-Id: I4520eea08e43ccd657c1db03b258ef84612da971
Reviewed-on: https://gerrit.libreoffice.org/7726
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 8d1ca883b119857daa3b8d0ece9da90917589040)
Reviewed-on: https://gerrit.libreoffice.org/7743
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>