LTYPE: check for NULL pointers in dxf_ltype_write().

Signed-off-by: bert <bert.timmerman@xs4all.nl>