Remove the need to manually store uniform/attrib locations.

Instead, when using them, if they are not found, initiate a search
for their location and store it.