ofz: avoid inf. loop if tag length is 0
ofz: avoid inf. loop if tag length is 0

Change-Id: If5a6644de892a466b5bd54ab3c807b6149aace8e

LibreOffice/libcdr,LibreOffice/libcdr,LibreOffice/libcdr,LibreOffice/libcdr