snmp: free snmp_pdu struct allocated by snmp_pdu_create()

This should fix the leak reported in issue #610.