lib/glesv2: move more enums to the new API style