(Glide64/TexCache) Make some functions static