madwifi: fix compile error on kernels without net_device api compatibility