[PATCH 4.14 26/62] rfkill: Fix incorrect check to avoid NULL pointer dereference