fix bug in iftype_name()

If the kernel has been updated, and iw hasn't
but was recompiled, the function can return
NULL which isn't desirable. Fix it.
diff --git a/util.c b/util.c
index 869e0d6..2983e32 100644
--- a/util.c
+++ b/util.c
@@ -139,7 +139,7 @@
 
 const char *iftype_name(enum nl80211_iftype iftype)
 {
-	if (iftype <= NL80211_IFTYPE_MAX)
+	if (iftype <= NL80211_IFTYPE_MAX && ifmodes[iftype])
 		return ifmodes[iftype];
 	sprintf(modebuf, "Unknown mode (%d)", iftype);
 	return modebuf;