[iwm] make sure we call iwm_detach_local() only once.
Obtained from: DragonflyBSD git ebd4ceab76a6f161362029cbfd08efaedaab0519