Fix shader compilation error in Nexus 10 and others.
Fix shader compilation error in Nexus 10 and others.

Our model of "use all remaining uniform registers for bones"
was flawed, because its very difficult to calculate how many
uniform registers are being used. I calculated the correct
amount for our test devices, but other devices (Nexus 10,
Samsung S6) allocate registers differently and required
more.

This resulted in them giving us a giant bone_transforms array,
but running out of uniform registers for shaders.

Better to keep things simple. Only allocate bone_transforms[]
for the number of bones that we have. If another application
requires more, they can increase the size of the
bone_transforms array as required.

Tested: Works on Linux and Nexus 10.
Change-Id: I0922880e4f0e80ea06502126fb9cba122d0d6dcc

google/zooshi,google/zooshi,google/zooshi,google/zooshi,google/zooshi