__wireguard: interface definition changes and cleanup.

Do not generate code when not needed, and stop using the deprecated
netmask option.
2 jobs for newtype/wireguard in 29 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #8304
manpages

00:00:12

passed #8303
shellcheck

00:00:16