iwm(4): Fix possible null pointer indirection
Obtained from: DragonFlyBSD (obtained from Haiku) MFC after: 1 week