lib: expose ni_netdev_name_is_valid utility

This function is supposed to check netdev names for disallowed
characters or blacklisted special purpose names like "default"
and "all" used in sysfs.