Remove glClearIndex function

- Remove on C source files and header files by templates.