attr-sql: Fix double free when adding subnets for unknown attribute types