[PATCH openEuler-22.03-LTS-SP1 1/1] gsmi: fix null-deref in gsmi_get_variable