Make net_if a kernel object with type K_OBJ_NET_IF so that we can restrict access to it. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>