engine: Allow using g_strfreev() for get_variables() returned array of strings.

g_strfreev() requires a additional NULL as last array element.