[PATCH 5.1 257/405] rtlwifi: fix potential NULL pointer dereference