[PATCH 5.0 223/346] rtlwifi: fix a potential NULL pointer dereference