XEP-0045 specifies in section 7.2.15:
If there is no subject set, the room MUST return an empty <subject/> element.
Openfire doesn't send a subject element in this case, but should