[PATCH AUTOSEL 4.14 010/130] libertas: fix a potential NULL pointer dereference