Properly handle cases of missing structure set

The created DICOM file will now skip the referenced structure set
sequence when the RTP file does not contain a Structure Set UID, and it
will set the RT Plan Geometry attribute as 'TREATMENT_DEVICE', in
accordance with the DICOM standard.