Fix array-bounds crash in XMPPPubSub when parsing ping-response IQs

Existing code raises an exception on e.g.:
<iq xmlns="jabber:client" id="3FA360E2-EB57-4F71-A645-183C53555773" type="result"></iq>