[PATCH 4.14 127/343] platform/x86: wmi: fix potential null pointer dereference