Stop parsing when an unknown record is encountered
Stop parsing when an unknown record is encountered

The current code just emits a debug message and continues with the next
record, which is parsed at the same position as the skipped record,
therefore it's almost certain that the result of parsing it--and all the
following records--is going to be garbage. IMHO it's better to stop right
away and hope that enough has been parsed to produce a meaningful output.

Change-Id: I07a5e45950ac3243b99a049b782f45a027fbeb18

LibreOffice/libfreehand,LibreOffice/libfreehand,LibreOffice/libfreehand,LibreOffice/libfreehand