cgltrace: Add prototypes for all undocumented functions.

Not sure they are correct, but it should be better than nothing.