ir_dead_functions: Actually free dead functions and signatures.

This makes linked shaders use around 36k less memory since the
built-in prototypes are now freed.
1 file changed