Delete the shader program on link failure.

The program created in the beginning of the link process will now be properly deleted should it fail.