valgrind: multiple problems in cgm filter

valgrind: Mismatched free() / delete / delete []

(cherry picked from commit 4d82ccb1edcc700f1ff8387ec51ac8114d5d77e3)

valgrind: Mismatched free() / delete / delete []

(cherry picked from commit 61550120b45640898677c7f765a491737445954f)

valgrind: Source and destination overlap in memcpy

(cherry picked from commit b2b5bc10b6574e4717f651602c970bdb20abd1a7)

sal_True->true

(cherry picked from commit aeea1cab4300371797fc1283c1e8623fa8238908)

check for short reads

(cherry picked from commit 2e234939874575a41673b3ceb4a759afa3b333aa)

valgrind: multiple errors

(cherry picked from commit b251762c6549639975a7e9962c9fb5b365ef2063)

stray ;s all other the place

(cherry picked from commit 740617901dc2e7a1effd211c755ea9d00b32094b)

valgrind: init GroupLevels

(cherry picked from commit b13591d48f58b45f4465ce03bd1248ec1e95584f)

Change-Id: Idccebc826ade29a507e115108d20fd461b7bb4ec
Reviewed-on: https://gerrit.libreoffice.org/11977
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>