[PATCH 4.14 24/25] gsmi: fix null-deref in gsmi_get_variable