rrset: fix empty rrset write to wire

Change-Id: Ic40747d9b5c5194b01e9ee66ccad54d26a1c8028