THUMBNAIL: added test for preview image data length
in dxf_thumbnail_read().

Signed-off-by: bert <bert.timmerman@xs4all.nl>
TRACE: implemented DXF_DEBUG macros.