glstate: Use separate labels for each cube map face.

Recently regressed.
glstate: Fix errors when dumping texture parameters.
glstate: Skip arb_fragment/vertex_program on core contexts.