iwlwifi: refactor common transport alloc/init code