iwm: Sync device initialization and reset code with iwlwifi.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation