Fix variable packing tests

When computing the maximum uniforms forgot to divide by
number of rows per uniform so the maximum for mat2, mat3 and mat4
was vastly too big