specs: Sort glapi.py prototypes.

To match Khronos gl.xml's order.
gltrace: Add missing prototypes.

These are used by glew 1.10.0.