iwlwifi: move host command sending functions to core module