LINE: check for NULL pointers in dxf_line_write().

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