Update pipeline when re-linking a program in use
Updating was only done for bound program, so add the same logic for existing pipelines.
This fixes piglit test arb_shader_storage_buffer_object-issue1258.
It might also help the following issue: #1258 (closed)