Update global-var.c

- Added definition for GlobalStrFree function