fix postprocessingpass rebuild

as postprocessing shaders are meant to be configured with uniforms after creation, they need to keep track of these uniforms to restore them after rebuild #405