sd-rtnl: fix off-by-one

Also fix type parameter passed to new0