panfrost: Clamp uniform buffer size
Issue (57) for the ARB_uniform_buffer_object spec says:
"The uniform buffer could be larger than the amount of uniform block(s) data inside it."
This means we need to clamp the uniform buffer size in case it is bigger than what hardware supports.
Fixes the OpenGL 3.3 renderer of GZDoom.