Various minor fixes to the SNMP subdriver generator