LWPOLYLINE: check for NULL pointers in dxf_lwpolyline_write().

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