madwifi: fix some potential null pointer derefs with wds