gallium: Replace more defines by enums
Synchronize with Mesa so that sharing code is more straightforward and allows to use enum types instead of plain integer when possible.
Synchronize with Mesa so that sharing code is more straightforward and allows to use enum types instead of plain integer when possible.