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