mwifiex: fix static checker warnings