gsupplicant: fix return value of g_supplicant_interface_get_data()