[RFC] add GA_DEEP_CLEAR(ga), and refactor two files using this function

As suggested, I added GA_DEEP_CLEAR(ga) to deep clear garray. It seems that we can use this function in two only files: "spell.c" and "ex_cmd.c"