ARB prog: replace 'unsigned' with 'gl_state_index'

Fixes compilation warnings with MSVC.
5 files changed