[PATCH 4.19 036/219] libertas: fix a potential NULL pointer dereference