Revert "glsl: clone inputs and outputs during linking"
This reverts commit c2ff3485. Ilia and I noticed a memory leak caused by this patch: at least with fixed-function programs, we clone things using ProgramResourceList as the context before reralloc makes it non-NULL. I believe Tapani found other bugs with these patches, so I'm just going to revert them for now and let him pursue them further. (cherry picked from commit 6218c68b)